import axiosInstance from "./request";
const http = {
  get: (url, data) => axiosInstance.get(url, { params: data }),
  post: (url, data) => axiosInstance.post(url, data),
  put: (url, data) => axiosInstance.put(url, data),
  delete: (url, data) => axiosInstance.delete(url, { data }),
};
export default http;
